package cn.wonderland.community.service.impl;

import cn.wonderland.community.domain.OwnerMember;
import cn.wonderland.community.mapper.OwnerMemberMapper;
import cn.wonderland.community.service.IOwnerMemberService;
import cn.wonderland.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wonderland
 * @since 2023-05-04
 */
@Service
public class OwnerMemberServiceImpl extends BaseServiceImpl<OwnerMember> implements IOwnerMemberService {

    @Autowired
    private OwnerMemberMapper memberMapper;
    @Override
    public List<OwnerMember> findByOwnerId(Long id) {
        return memberMapper.findByOwnerId(id);
    }
}
